using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WHC.Hotel.UI.Controls
{
    public class MyTabPage : Panel
    {
        Image imgIcon;
        int iTabIndex;

        public MyTabPage(string sName)
        {
            this.Text = sName;
        }

        public MyTabPage()
        {
        }

        public Image IconImg
        {
            set
            {
                this.imgIcon = value;
            }
            get
            {
                return this.imgIcon;
            }
        }

        public new int TabIndex
        {
            set
            {
                this.iTabIndex = value;
            }
            get
            {
                return this.iTabIndex;
            }
        }

    }
}
